package com.ruoyi.mnt.extra.controller;

import com.ruoyi.common.core.domain.R;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LIUJUN
 */
@RequiredArgsConstructor
@RestController
@RequestMapping("/mnt/extra")
public class MntExtraController {
    @GetMapping("/hello/{name}")
    public R<String> sayHello(@PathVariable String name) {
        return R.ok(String.format("Hello:%s", name));
    }
}
